package com.ruoyi.web.ydz.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用药提醒功能对象 medication_reminder
 *
 * @author DRX
 * @date 2024-10-15
 */
public class MedicationReminder extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 提醒时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "提醒时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date remindTime;

    /**
     * 提醒内容
     */
    @Excel(name = "提醒内容")
    private String remindContent;

    /**
     * 提醒标题
     */
    @Excel(name = "提醒标题")
    private String remindTitle;

    /**
     * 是否已提醒 (0未提醒；1已经提醒； 2提醒取消）
     */
    @Excel(name = "是否已提醒", dictType = "already_remind")
    private String alreadyRemind;

    /**
     * 创建人名称
     */
    @Excel(name = "创建人名称")
    private String createName;

    /**
     * 更新人名称
     */
    @Excel(name = "更新人名称")
    private String updateName;

    private String state;

    /**
     * 是否删除（0否；1是）
     */
    private String delFlag;

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setRemindTime(Date remindTime) {
        this.remindTime = remindTime;
    }

    public Date getRemindTime() {
        return remindTime;
    }

    public void setRemindContent(String remindContent) {
        this.remindContent = remindContent;
    }

    public String getRemindContent() {
        return remindContent;
    }

    public void setRemindTitle(String remindTitle) {
        this.remindTitle = remindTitle;
    }

    public String getRemindTitle() {
        return remindTitle;
    }

    public void setAlreadyRemind(String alreadyRemind) {
        this.alreadyRemind = alreadyRemind;
    }

    public String getAlreadyRemind() {
        return alreadyRemind;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getCreateName() {
        return createName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("remindTime", getRemindTime())
                .append("remindContent", getRemindContent())
                .append("remindTitle", getRemindTitle())
                .append("alreadyRemind", getAlreadyRemind())
                .append("createBy", getCreateBy())
                .append("createName", getCreateName())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateName", getUpdateName())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
